home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / ssbev.z / ssbev
Encoding:
Text File  |  2002-10-03  |  4.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4. SSSSSSSSBBBBEEEEVVVV((((3333SSSS))))                                                            SSSSSSSSBBBBEEEEVVVV((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      SSBEV - compute all the eigenvalues and, optionally, eigenvectors of a
  10.      real symmetric band matrix A
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE SSBEV( JOBZ, UPLO, N, KD, AB, LDAB, W, Z, LDZ, WORK, INFO )
  14.  
  15.          CHARACTER     JOBZ, UPLO
  16.  
  17.          INTEGER       INFO, KD, LDAB, LDZ, N
  18.  
  19.          REAL          AB( LDAB, * ), W( * ), WORK( * ), Z( LDZ, * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      SSBEV computes all the eigenvalues and, optionally, eigenvectors of a
  36.      real symmetric band matrix A.
  37.  
  38. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  39.      JOBZ    (input) CHARACTER*1
  40.              = 'N':  Compute eigenvalues only;
  41.              = 'V':  Compute eigenvalues and eigenvectors.
  42.  
  43.      UPLO    (input) CHARACTER*1
  44.              = 'U':  Upper triangle of A is stored;
  45.              = 'L':  Lower triangle of A is stored.
  46.  
  47.      N       (input) INTEGER
  48.              The order of the matrix A.  N >= 0.
  49.  
  50.      KD      (input) INTEGER
  51.              The number of superdiagonals of the matrix A if UPLO = 'U', or
  52.              the number of subdiagonals if UPLO = 'L'.  KD >= 0.
  53.  
  54.      AB      (input/output) REAL array, dimension (LDAB, N)
  55.              On entry, the upper or lower triangle of the symmetric band
  56.              matrix A, stored in the first KD+1 rows of the array.  The j-th
  57.              column of A is stored in the j-th column of the array AB as
  58.              follows:  if UPLO = 'U', AB(kd+1+i-j,j) = A(i,j) for max(1,j-
  59.              kd)<=i<=j; if UPLO = 'L', AB(1+i-j,j)    = A(i,j) for
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSSSSSBBBBEEEEVVVV((((3333SSSS))))                                                            SSSSSSSSBBBBEEEEVVVV((((3333SSSS))))
  71.  
  72.  
  73.  
  74.              j<=i<=min(n,j+kd).
  75.  
  76.              On exit, AB is overwritten by values generated during the
  77.              reduction to tridiagonal form.  If UPLO = 'U', the first
  78.              superdiagonal and the diagonal of the tridiagonal matrix T are
  79.              returned in rows KD and KD+1 of AB, and if UPLO = 'L', the
  80.              diagonal and first subdiagonal of T are returned in the first two
  81.              rows of AB.
  82.  
  83.      LDAB    (input) INTEGER
  84.              The leading dimension of the array AB.  LDAB >= KD + 1.
  85.  
  86.      W       (output) REAL array, dimension (N)
  87.              If INFO = 0, the eigenvalues in ascending order.
  88.  
  89.      Z       (output) REAL array, dimension (LDZ, N)
  90.              If JOBZ = 'V', then if INFO = 0, Z contains the orthonormal
  91.              eigenvectors of the matrix A, with the i-th column of Z holding
  92.              the eigenvector associated with W(i).  If JOBZ = 'N', then Z is
  93.              not referenced.
  94.  
  95.      LDZ     (input) INTEGER
  96.              The leading dimension of the array Z.  LDZ >= 1, and if JOBZ =
  97.              'V', LDZ >= max(1,N).
  98.  
  99.      WORK    (workspace) REAL array, dimension (max(1,3*N-2))
  100.  
  101.      INFO    (output) INTEGER
  102.              = 0:  successful exit
  103.              < 0:  if INFO = -i, the i-th argument had an illegal value
  104.              > 0:  if INFO = i, the algorithm failed to converge; i off-
  105.              diagonal elements of an intermediate tridiagonal form did not
  106.              converge to zero.
  107.  
  108. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  109.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  110.  
  111.      This man page is available only online.
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.